<?php
// http://210.118.69.147:8888/SBWebServer/parent_applist_sender.php/?parent_num=1
include("../Action/config.php");

$child_num = $_GET['child_num'];

$sql = "SELECT * FROM CHILD WHERE child_num='$child_num'";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);

$extra_time = $row['extra_time'];
$limit_time = $row['limit_time'];
$rating = $row['rating'];
$obtain_time = $row['obtain_time'];
$spare_time = $row['spare_time'];

$chinese_info = array();
$chinese_info['extra_time'] = $extra_time;
$chinese_info['limit_time'] = $limit_time;
$chinese_info['rating'] = $rating;
$chinese_info['obtain_time'] = $obtain_time;
$chinese_info['spare_time'] = $spare_time;

$send = json_encode($chinese_info);
echo $send;
exit();
?>


